﻿using LightCAD.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.ComEditor
{
    public class ComponentEditRuntime:IEditRuntime
    {
        public IComponentEditControl Control { get; protected set; }
        public CommandHandler CmdHandler { get; protected set; }

        public IEditControl EditControl => this.Control;

        public ComponentEditRuntime(IComponentEditControl control)
        {
            this.Control = control;
            this.CmdHandler = new CommandHandler(this);

        }
    }
}
